lib/pull: Don't scan commit objects we fetch via deltas
authorJonathan Lebon <jonathan@jlebon.com>
Fri, 8 Sep 2023 20:54:29 +0000 (16:54 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Fri, 8 Sep 2023 21:49:25 +0000 (17:49 -0400)
commitfc5aef6fe6332fa7ddc057064afcabc3d6d680f4
tree62dccc6e09feabbc9cfbb579209d3936539e34fb
parentc8ed1c7a871c0cfe5ec1e4c0b0971f1433b62992
lib/pull: Don't scan commit objects we fetch via deltas

When we're fetching a commit via static delta, we already take care of
fetching the full commit, so there's no need to also scan it using the
regular object workflow.

Closes: #2053
src/libostree/ostree-repo-pull-private.h
src/libostree/ostree-repo-pull.c
tests/test-delta.sh